package capimClientP;

import java.net.InetAddress;

/**
 * Declare simple format for guard packages
 * @author danielm pessoafpc
 *
 */
public class SimplePacketFormat {
	int pktId;
	InetAddress ip;
	String message;
	
	public SimplePacketFormat(InetAddress ip, String message) {
		this.setIp(ip);
		this.setMessage(message);
	}
	
	public SimplePacketFormat(int pktId, InetAddress ip, String message) {
		this.setPktId(pktId);
		this.setIp(ip);
		this.setMessage(message);
	}
	
	public InetAddress getIp() {
		return ip;
	}
	public void setIp(InetAddress ip) {
		this.ip = ip;
	}
	public String getMessage() {
		return message;
	}
	public void setMessage(String message) {
		this.message = message;
	}
	public int getPktId() {
		return pktId;
	}

	public void setPktId(int pktId) {
		this.pktId = pktId;
	}
	
}
